ab10be6f2d5b4f929fd505e86588847693420482,src/main/java/org/fxmisc/flowless/VirtualFlow.java,VirtualFlow,VirtualFlow,#ObservableList#BiFunction#Metrics#,184

Before Change


                        layoutWidth)));
        BooleanBinding needsVBar = needsVBar0.or(needsHBar0.and(
                Bindings.greaterThan(
                        Bindings.add(metrics.heightEstimateProperty(content), hbar.heightProperty()),
                        layoutHeight)));
        hbar.visibleProperty().bind(needsHBar);
        vbar.visibleProperty().bind(needsVBar);

After Change


                needsVBar0,
                needsHBar0,
                orientation.heightEstimateProperty(content),
                hbar.heightProperty(),
                layoutHeight,
                (needsV, needsH, ch, hbh, lh) -> needsV || needsH && ch + hbh.doubleValue() > lh);
        hbar.visibleProperty().bind(needsHBar);